package com.six.address.service;

import com.six.core.entity.Receive;
import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.vo.Result;

/**
* @author 汪鹏
* @description 针对表【tb_receive】的数据库操作Service
* @createDate 2023-03-02 10:14:59
*/

public interface ReceiveService extends IService<Receive> {

    /**查询收获地址信息*/
    Result findAllReceive(Integer userId);

    /** 用户添加收获地址*/
    Result savaReceive(Receive receive);

    /** 用户删除收货地址*/
    Result deleteReceive(Integer receiveid);

    /** 用户修改收货地址*/
    Result updateReceive(Receive receive);

}
